package cn.wanho.util;

/**
        * 枚举
        * @author jianma
        */
public enum ResultEnum {
    /** 定义枚举类型 */
    SELECT_CLASS_STUDENT_SUCCESS("1000001","查询班级学生成功"),


    VALIDATION_FAILURE("2000002,","验证失败"),
    SELECT_CLASS_STUDENT_FAILURE("2000001","查询班级学生失败"),

    GLOBAL_EXCEPTION("3000001","发生异常情况");

    private String resCode;
    private String resMsg;

    ResultEnum(String resCode,String resMsg){
        this.resCode = resCode;
        this.resMsg = resMsg;
    }

    public String getResCode() {
        return resCode;
    }

    public String getResMsg() {
        return resMsg;
    }
}
